home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2498 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: felix.teclink.net!usenet
  2. From: rad@teclink.net (rad)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PPC compilers
  5. Date: 1 Feb 1996 04:06:18 GMT
  6. Organization: TECLink Internet Services: info@TECLink.Net
  7. Message-ID: <898.6604T1292T1148@teclink.net>
  8. References: <4e882m$k7u@sunsystem5.informatik.tu-muenchen.de>
  9. NNTP-Posting-Host: tc2_16.teclink.net
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12. Juergen "Rally" Fischer <fischerj@informatik.tu-muenchen.de> writes:
  13.   In article <1205.6597T1252T932@ifi.uio.no>, ludvigp@ifi.uio.no (Ludvig
  14.   Pedersen) writes:
  15.     >At least this has to be done before the loop:
  16.     >        moveq   #0,d0
  17.     >        add.l   d1,d0
  18.  
  19.     Using
  20.             sub.w   dx,dx
  21.  
  22.     instead of
  23.  
  24.             moveq   #0,d0
  25.             add.l   d1,d0
  26.  
  27.   what about cmp.x dx,dx
  28.   won't trash dx ;) the aim was to get X flag 0 right ?
  29.  
  30. I fell into that mistake once.  cmp.x does not effect the X flag.
  31.  
  32. --------------------------------------------------------------------------
  33. - Richard Deken                   E-Mail: (personal)     rad@teclink.net -
  34. - VLSI design engineer                    (AuE business) rad@aue.com     -
  35. - Advanced Microelectronics       PGP public key available               -
  36. --------------------------------------------------------------------------
  37.  
  38.